/**
 * @(#)RpcMain.java, 2018/12/28
 * <p/>
 * Copyright 2018 Netease, Inc. All rights reserved.
 * NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.chengzhi.netty.rpc;

/**
 * @author 阮承志(wb.ruanchengzhi @ mesg.corp.netease.com)
 **/
public class RpcMain {
    public static void main(String[] args) {
        HelloRpc rpc = new HelloPrcImpl();
        HelloRpc helloRpc = (HelloRpc) RPCProxy.create(rpc);
        System.out.println(helloRpc.hello("rpc test"));
    }
}
